package cn.jiahua.hospital.mapper;

import cn.jiahua.hospital.dto.PatientsByOrderDto;
import cn.jiahua.hospital.pojo.Patients;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;


public interface PatientsMapper {


    public Patients getPatientsById(@Param(value = "id") Integer id);

    public List<Patients> getPatientsListByMap(Map<String, Object> param);

    public Integer getPatientsCountByMap(Map<String, Object> param);

    public Integer insertPatients(Patients patients);

    public Integer updatePatients(Patients patients);

    public Integer deletePatientsById(@Param(value = "id") Integer id);

    public Integer batchDeletePatients(Map<String, List<String>> params);


}
